package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WQbdChemicalPhysicsInfo;
import com.ccp.dev.qbdms.model.WQbdPressureElementInfo;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 化学压力电源 信息数据库操作类
 *
 * @author milihao
 * @date 2020-07-07 10:13:09
 */
@Mapper
public interface WQbdChemicalPhysicsInfoDao extends IBaseMapper<WQbdChemicalPhysicsInfo, String> {

	List<WQbdChemicalPhysicsInfo> queryAll(QueryFilter queryFilter);

	/**
	 * 获取上报数据列表
	 *
	 * @param id id
	 * @param tableName 表名称
	 * @return List<WQbdChemicalPhysicsInfo>
	 */
	List<WQbdChemicalPhysicsInfo> reportList(@Param("dataId") String id,
			@Param("tableName") String tableName);

	WQbdChemicalPhysicsInfo getParentAndChilden(String id);
}
